package com.interview.tech.model;

public class Question {

	private Integer id;
	private String text;
	private String postedBy;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getPostedBy() {
		return postedBy;
	}

	public void setPostedBy(String postedBy) {
		this.postedBy = postedBy;
	}
	
	@Override
	public String toString() {
		return id + " -- " + text + " -- " + postedBy; 
	}

}
